package cn.yotta.user.api.error;

import cn.yotta.common.api.exception.ErrorCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wyaoyao
 * @date 2022/11/8 10:35
 */
@Getter
@AllArgsConstructor
public enum CaptchaErrorCode implements ErrorCode {
    CAPTCHA_IS_BLANK("captcha.is.blank", "图片验证码为空"),
    CAPTCHA_TOKEN_IS_BLANK("captcha.token.is.blank", "图片验证码Token为空"),
    CAPTCHA_NOT_MATCH("captcha.not.match", "图片验证码验证失败"),
    ;

    private final String code;
    private final String message;

}
